package com.itany.service;

import com.github.pagehelper.PageInfo;

import com.itany.pojo.Menu;
import com.itany.pojo.Permission;

import java.util.List;
import java.util.TreeSet;

public interface PermissionService {

    public TreeSet<Menu> findMenu(Integer parentid);

    public PageInfo<Permission> findByFuzzy(Permission permission, Integer page, Integer rows);

    public List<Permission> findParents();

    public void modifyById(Permission permission);
}
